Robot controlling system

ABSTRACT

A control system  4  includes an application processor that executes a first operating system to process an application, a sensor processor that executes a second operating system to process image data acquired by an image sensor, and a motion controlling processor that executes a third operating system to control motion of a movable part of a robot. The first operating system, the second operating system, and the third operating system are different from each other.

TECHNICAL FIELD

The present invention relates to a system for controlling an action of a robot.

BACKGROUND ART

Conventionally, research and development of various types of robots have been performed. PTL 1 discloses a learning method for walking control by a legged mobile robot of the humanoid type. PTL 1 discloses a method for reinforcement-learning of, when a robot cannot stably walk along a walking trajectory given at an initial stage, a stable walking trajectory along which the robot can walk.

CITATION LIST Patent Literature

[PTL 1] Japanese Patent Laid-Open No. 2005-96068

SUMMARY Technical Problem

The robot technology is advancing day by day. Although pet-type robots of the four-legged walking type have been the mainstream of commercial models, in recent years, humanoid robots that perform complicated operations such as dancing are distributed. It is expected that, by increase of an arithmetic operation capacity and improvement of a learning model, a robot itself learns to improve existing functions and acquire new functions.

An action purpose and an action mode of an autonomous robot depend upon an application to be executed. An application for causing a robot to autonomously walk collects and analyzes environmental information around the robot and calculates rotational speeds for a plurality of motors configuring robot joints. A microcomputer for control is provided for each motor, and the plurality of microcomputers supply power according to the calculated rotational speeds to the motors in synchronism with one another. For example, an application that has an action purpose of following a user specifies positions of the user and an obstacle in a space from a camera image, determines a route along which to follow the user, and calculates rotational speeds for the motors of the robot joints such that the robot moves on the route.

In a robot, rotational speeds for a plurality of motors are calculated on the basis of accurate data obtained by image sensing, and the motors are rotated at the calculated rotational speeds without any time delay to implement an action mode according to an action purpose. If a robot is to be provided with an advanced autonomous action function, then the arithmetic operation amount by the application becomes great. However, in order to allow the robot to act even in such a case as just described, it is necessary to build a mechanism for immediately implementing an image sensing function and/or a motion controlling function.

Solution to Problem

In order to solve the problem described above, a robot controlling system of one aspect of the present invention includes an application processor that executes a first operating system to process an application, a sensor processor that executes a second operating system to process image data acquired by an image sensor, and a motion controlling processor that executes a third operating system to control motion of a movable part of a robot. The first operating system, the second operating system, and the third operating system are different from one another.

It is to be noted that also any combination of the constituent elements described above and those of representations of the present invention converted between a method, an apparatus, a system, a computer program, a recording medium in which the computer program is recorded readably, a data structure, and so forth are effective as modes of the present invention.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a view depicting a general configuration of an entertainment system of an embodiment.

FIG. 2 is a view depicting a hardware configuration of a control system.

DESCRIPTION OF EMBODIMENT

FIG. 1 depicts a general configuration of an entertainment system 1 of an embodiment. The entertainment system 1 includes a robot apparatus 20 and a server apparatus 10. The robot apparatus 20 is a mobile object that can walk autonomously and is connected for communication with the server apparatus 10 via a network 2 such as the Internet through an access point (AP) 3.

The robot apparatus 20 is configured as a humanoid robot and is owned by a user who is an owner. Preferably, the robot apparatus 20 is capable of recognizing the owner by face authentication based on image analysis, voiceprint authentication based on voice analysis, or the like. By recognizing the owner, the robot apparatus 20 can, for example, accept an instruction only from the owner and act according to the owner instruction.

Preferably, the robot apparatus 20 has parts similar to those of a human being and has an external shape that gives a sense of friendliness to human beings. The robot apparatus 20 has a head, a neck, a trunk (a chest, an abdomen, and a back), upper limbs, and lower limbs. The upper limbs may each have an upper arm, a forearm, and a hand, and the lower limbs may each have a thigh, a lower leg, and a foot. The parts are coupled to each other by an actuator. The actuator includes at least a motor arranged at a joint portion that is a movable part and a link mechanism that couples one motor to another motor. The robot apparatus 20 acts according to an action purpose while keeping a balance in posture by driving the actuators.

The robot apparatus 20 implements basic functions including walking and running functions and a function of avoiding an obstacle by a basic application program (hereinafter also referred to as a “basic application”) that describes controlling methods for the individual actuators. Since the basic application takes charge of the basic functions of the robot apparatus 20, it is preferably preinstalled in the robot apparatus 20 and may be, for example, incorporated in middleware.

Any application program other than the basic application is an applied application program (hereinafter also referred to as an “applied application”). The applied application implements an additional function such as a dancing function, for example. The applied application is supplied from the server apparatus 10 as occasion demands and is installed into the robot apparatus 20. The robot apparatus 20 acquires a new function by downloading and installing a new applied application.

FIG. 2 depicts a hardware configuration of a control system 4. The control system 4 of the embodiment includes architecture for implementing immediacy of an image sensing function and a motion controlling function of the robot apparatus 20. The control system 4 has a multiprocessor configuration and includes an application processor 30 for processing an application, a sensor processor 50 for processing image data, and a motion controlling processor 70 for controlling motion of movable parts of the robot apparatus 20. In the control system 4, the application processor 30 and the sensor processor 50 construct an image analysis system, and the application processor 30 and the motion controlling processor 70 construct a motion controlling system. The application processor 30, the sensor processor 50, and the motion controlling processor 70 are provided in a housing of the robot apparatus 20, and two of the processors are connected for communication to each other.

In this architecture, the application processor 30 operates as a main processor. The sensor processor 50 carries out image analysis designated by the application processor 30 and provides an image analysis result to the application processor 30. The motion controlling processor 70 drives and controls the actuators at rotational speeds designated by the application processor 30. Since the sensor processor 50 and the motion controlling processor 70 individually carry out corresponding processes, it is not necessary for the application processor 30 to have the image sensing function and the motion controlling function, and a processing load on the application processor 30 can be reduced.

The application processor 30 executes a first operating system (hereinafter also referred to as a “first OS”) to process an application. The application to be processed includes both the basic application and the applied application. While processing a plurality of basic applications simultaneously, the application processor 30 also processes a necessary applied application. Therefore, the application processor 30 incorporates a plurality of central processing unit (CPU) cores therein. Preferably, the first OS is a general-purpose OS that allows various applications to be executed simultaneously.

To the application processor 30, a display device 32, a speaker 34, a communication device 36, and a microphone 38 are connected. The display device 32 and the speaker 34 output an image and sound generated by the application processor 30, respectively, to present information to the user. The communication device 36 establishes connection to the AP 3 by a wireless local area network (LAN) and communicates with the server apparatus 10 through the AP 3. The communication device 36 may have a portable telephone communication function. The communication device 36 can download an applied application and a patch file from the server apparatus 10. The microphone 38 collects ambient sound, converts it into a sound signal, and provides the sound signal to the application processor 30. The application processor 30 may have a sound recognition function such that it determines an action on the basis of a voice instruction by the user.

The sensor processor 50 is a processor that carriers out the image sensing function and is connected to an image sensor 52, a distance sensor 54, and an event-driven type sensor 56. The image sensor 52, the distance sensor 54, and the event-driven type sensor 56 are incorporated in the robot apparatus 20 and operate as visual sensors that acquire peripheral information of the robot apparatus 20, and the sensor processor 50 takes charge of a recognition function in terms of vision.

The image sensor 52 is a camera and provides an RGB image captured in a predetermined cycle (for example, 1/60 second) to the sensor processor 50. The distance sensor 54 may be a time-of-flight (TOF) distance image sensor and supplies a three-dimensional distance image to the sensor processor 50. The event-driven type sensor 56 is a sensor that detects a change in luminance value of a pixel of an imaging element and supplies a combination of a time of detection and pixel coordinates to the sensor processor 50. The distance sensor 54 and the event-driven type sensor 56 are information sensors that detect information relating to an imaging target included in image data.

The event-driven type sensor 56 has a dynamic range wider than that of the image sensor 52 and can accurately detect a movement of an imaging target even in an environment in which incident light exceeding the dynamic range of the image sensor 52 exists. Further, since the event-driven type sensor 56 can detect a movement of an imaging target with time resolution higher than that of the image sensor 52, when the sensor processor 50 processes image data acquired by the image sensor 52, it can complementarily utilize the movement information acquired by the event-driven type sensor 56.

The sensor processor 50 executes a second operating system (hereinafter also referred to as a “second OS”) to process image data acquired by the image sensor 52. The sensor processor 50 may have a neural network that recognizes a target object included in the image data by using a machine-learned model. The sensor processor 50 acquires depth information of an imaging target from the distance sensor 54 and movement information of the imaging target from the event-driven type sensor 56, and analyzes the image data acquired from the image sensor 52 by using the imaging target information. The application processor 30 designates an image analysis function to be carried out, according to the application to be processed, for the sensor processor 50.

For example, when the application processor 30 processes an application for causing the robot apparatus 20 to follow the owner that is a following target, it requests the sensor processor 50 to specify the position of the owner. Receiving the request, the sensor processor 50 sets a parameter set for image analysis for recognizing the owner from a captured image to the neural network and carries out a process for recognizing the owner by image analysis. It is to be noted that, while the parameter set for owner recognition may be stored in a storage device (not depicted) connected to the sensor processor 50, it may otherwise be supplied from the application processor 30. The sensor processor 50 may execute a process for analyzing image data, taking the imaging target information acquired by the distance sensor 54 and the event-driven type sensor 56 into consideration.

The sensor processor 50 may have a learning function of optimizing the parameter set for the neural network in order to implement the image analysis function specialized for the application. In this example, preferably, the sensor processor 50 carries out learning for optimizing the parameter set for owner recognition in advance and optimizes the parameter set before the application processor 30 carries out the application for following the owner.

An objective function (error function) in the learning function compares an output obtained by inputting an image for learning to the neural network and a correct value corresponding to the image (namely, the fact that a target person is the owner) to calculate an error. The learning function calculates a gradient for a parameter by a gradient back-propagation method or the like on the basis of the error and updates the optimization target parameter of the neural network on the basis of the momentum method. By performing learning specialized for the application, an optimum parameter set can be created for each application, and an accurate image analysis function is implemented. It is to be noted that the sensor processor 50 may have a learning function of a different type.

For example, when the application processor 30 processes an application by which the robot apparatus 20 predicts a destination of a particular moving object and goes to the destination before the object does, the sensor processor 50 predicts a trajectory of movement of the particular object while carrying out image analysis of recognizing the object. Since the event-driven type sensor 56 detects movement information of the imaging target with high time resolution, the movement information can be utilized suitably for accurate movement prediction. The sensor processor 50 predicts a trajectory of movement of the particular object on the basis of information from the image sensor 52, the distance sensor 54, and the event-driven type sensor 56.

Further, when the application processor 30 processes an application by which the robot apparatus 20 performs a movement synchronized with a movement such as a gesture of the owner, the sensor processor 50 may recognize a movement of the owner while carrying out image analysis for recognizing the owner and may further predict a movement in the future. The sensor processor 50 may acquire movement information of the owner detected by the event-driven type sensor 56 to recognize a movement at present of the owner and predict a movement that will be made, on the basis of the movement information obtained so far. If the sensor processor 50 predicts a movement of the owner, then it becomes possible for the robot apparatus 20 to move anticipating a movement of the owner.

The second OS executed by the sensor processor 50 in such a manner as described above preferably is an OS that controls the neural network for image analysis. The second OS is a special OS suitable for the neural network, and accordingly, the second OS is not a general-purpose OS and is different from the first OS.

The motion controlling processor 70 is a processor for controlling motion of movable parts of the robot apparatus 20 and is connected to a plurality of motion sensors 72, a plurality of touch sensors 74, and a plurality of microcomputers 76 a to 76 n (in the following description, when they are not specifically distinguished from each other, each of them is referred to as a “microcomputer 76”). One microcomputer 76 takes charge of driving of one motor. The motion controlling processor 70 takes charge of a motion controlling function of the robot apparatus 20 and controls the microcomputer 76 to supply driving current to the motor.

Each motion sensor 72 includes a three-axis acceleration sensor and a three-axis gyro sensor. The motion sensor 72 may be provided at each joint portion and provide sensor data indicative of a position and a posture of the joint portion in a three-dimensional space and/or sensor data indicative of a change in position and posture to the motion controlling processor 70. It is to be noted that, in the embodiment, the motion sensor 72 may be provided at the position of the image sensor 52 such that sensor data indicative of a position and a posture of the image sensor 52 in the three-dimensional space and/or sensor data indicative of a change in position and posture is provided to the motion controlling processor 70. Each touch sensor 74 is provided on an outer surface of the robot apparatus 20 and detects contact with the robot apparatus 20.

The motion controlling processor 70 executes a third operating system (hereinafter also referred to as a “third OS”) to control motion of a movable part of the robot apparatus 20, namely, rotation of a motor. The role of the motion controlling processor 70 is to manage the microcomputer 76 on a real-time basis such that each motor rotates at a rotational speed calculated by the application processor 30, and its further important role is to prevent fall of the robot apparatus 20. To this end, as a premise to satisfy a motion request from the application processor 30, the motion controlling processor 70 normally monitors sensor data of the motion sensor 72 and carries out a posture controlling application for fall prevention. For example, when the robot apparatus 20 hits an obstacle and is about to fall, the motion controlling processor 70 immediately executes motor control for fall prevention.

In this manner, immediacy is required for motor control by the motion controlling processor 70. Therefore, the third OS executed by the motion controlling processor 70 preferably is a real-time OS. The real-time OS is an OS that is designed such that a particular application such as a posture controlling application is executed at a timing with high accuracy and can perform real-time processing of the application. Naturally, the third OS is different from both the first OS and the second OS.

The application processor 30, the sensor processor 50, and the motion controlling processor 70 are configured in such a manner as described above. For example, when an application for causing the robot apparatus 20 to follow the owner who is a following target is to be executed, it is necessary for the application processor 30 to find the position of the owner in the space and the position in the space of an obstacle existing between the robot apparatus 20 and the owner. Therefore, the application processor 30 instructs the sensor processor 50 to specify the positions of the owner and an obstacle included in image data of the image sensor 52. In the following description, each of the owner and an obstacle that become recognition targets of the application processor 30 is simply referred to as a “target.”

The sensor processor 50 acquires image data from the image sensor 52 and carries out image analysis designated by the application processor 30, by using depth information of the distance sensor 54 and movement information of the event-driven type sensor 56. The sensor processor 50 provides the application processor 30 with an image analysis result including position coordinates of each target in a camera coordinate system having the origin at the image sensor 52. This image analysis result also includes depth information (distance information) of the target in the camera coordinate system. Accordingly, the application processor 30 can specify three-dimensional coordinates of the target in the camera coordinate system having the origin at the image sensor 52.

The motion controlling processor 70 provides posture information for specifying the orientation of the image sensor 52 to the sensor processor 50. This posture information may include information for specifying the position of the image sensor 52. In short, the posture information includes information for specifying the orientation and the position of an optical axis in the space when the image sensor 52 acquires the image data. The position of each of the joint portions and the main parts in the robot apparatus 20 is defined by a robot coordinate system in which the origin is a reference position in the robot machine body. The motion controlling processor 70 constantly calculates three-dimensional coordinates of the reference position in a three-dimensional actual space coordinate system (space coordinate system), and creates posture information for specifying the orientation and the position of the image sensor 52 in the space coordinate system by specifying the orientation and the position of the image sensor 52 in the robot coordinate system. The sensor processor 50 transmits the image analysis result to the application processor 30 together with the posture information of the image sensor 52.

The application processor 30 specifies the orientation and the position of the image sensor 52 in the space coordinate system by acquiring the posture information and specifies the three-dimensional coordinates of the image sensor 52 in the camera coordinate system by acquiring the image analysis result. The application processor 30 thereby acquires the three-dimensional coordinates of the target in the space coordinate system.

The motion controlling processor 70 provides the posture information obtained when the image data to be analyzed by the sensor processor 50 is acquired by the image sensor 52 to the sensor processor 50. The motion controlling processor 70 may derive the posture information of the image sensor 52 from the sensor data of the motion sensor 72 provided at each joint portion. It is to be noted that, when a motion sensor 72 is provided at the installation position of the image sensor 52, the motion controlling processor 70 may derive the posture information of the image sensor 52 by using sensor data of the motion sensor 72.

The sensor processor 50 notifies the motion controlling processor 70 of an image capture time of the image data to be used for analysis, and the motion controlling processor 70 provides the posture information of the image sensor 52 at a time same as the image capture time to the sensor processor 50. The motion controlling processor 70 constantly carries out the posture controlling application and calculates position coordinates of the joint portions and the main parts in a sampling cycle much shorter than the image analysis cycle (for example, 1/60 second) of the sensor processor 50. The motion controlling processor 70 in the embodiment may derive the posture information of the image sensor 52 in this sampling cycle and store the posture information into a storage device (not depicted) together with the time information such that, when it receives a notification of an image capture time of image data, it reads out the posture information of the image sensor 52 at a time same as the image capture time from the storage device and provides the posture information to the sensor processor 50.

The sensor processor 50 is provided with posture information from the motion controlling processor 70 during analysis of the image data. When the sensor processor 50 ends the analysis of the image data, it adds the posture information of the image sensor 52 as metadata to the image analysis result and provides the resulting image analysis result to the application processor 30. The application processor 30 specifies the position of the target in the space from the image analysis result and the posture information.

The motion controlling processor 70 in the embodiment provides the posture information of the image sensor 52 to the sensor processor 50, not via the application processor 30. In short, the motion controlling processor 70 directly provides the posture information to the sensor processor 50 through a bus that connects the motion controlling processor 70 and the sensor processor 50 to each other.

In ordinary architecture design, since the application processor 30 that is a main processor relays data transmission between other processors, a data transmission time is a sum additionally including a relay time by the application processor 30. On the other hand, since, in the control system 4, the sensor processor 50 and the motion controlling processor 70 are connected to each other by the bus, when the motion controlling processor 70 provides posture information of the image sensor 52 to the sensor processor 50, directly providing the posture information to the sensor processor 50 achieves shorter transmission time as compared to transmitting the posture information via the application server 30. Therefore, in order to increase the real-time property, the motion controlling processor 70 transmits the posture information of the image sensor 52 directly to the sensor processor 50.

At the time of image analysis, the sensor processor 50 may issue a request for provision of posture information of the image sensor 52, to the motion controlling processor 70. At this time, the sensor processor 50 may notify the motion controlling processor 70 of the image capture time of the image data to be used in the analysis. When the motion controlling processor 70 receives the request for provision of posture information, it provides the posture information of the image sensor 52 directly to the sensor processor 50. When the motion controlling processor 70 is notified of the image capture time of the image data, it may thereafter provide posture information cyclically according to the image analysis cycle of the sensor processor 50. For example, when the image analysis cycle of the sensor processor 50 is 1/60 second, the motion controlling processor 70 may provide posture information to the sensor processor 50 in the same cycle from a start point set at this notified image capture time. It is to be noted that the motion controlling processor 70 may otherwise provide posture information cyclically to the sensor processor 50 without depending upon the request from the sensor processor 50.

The sensor processor 50 adds the posture information as metadata to the image analysis result and provides the resulting image analysis result to the application processor 30. Consequently, the application processor 30 can specify the position of the target in the space. It is to be noted that, although the sensor processor 50 provides the image analysis result, it does not provide the image data used in the image analysis to the application processor 30. In the control system 4, the fact that the sensor processor 50 does not provide image data to the application processor 30 decreases a transmission delay risk from the sensor processor 50 to the application processor 30, so that the image analysis result is provided to the application processor 30 without a time delay. Further, the fact that the sensor processor 50 does not provide image data to the application processor 30 prevents such a situation that image data including personal information leaks to the outside of the robot apparatus 20.

It is to be noted that the sensor processor 50 may otherwise provide the image analysis result to the motion controlling processor 70. For example, when the motion controlling processor 70 has a tracking function of a predetermined target, it may control an autonomous tracking action by using the image analysis result by the sensor processor 50.

As described above, in the control system 4, the sensor processor 50 and the motion controlling processor 70 are provided to avoid a situation that the load is concentrated on the application processor 30. Further, since each of the application processor 30, the sensor processor 50, and the motion controlling processor 70 executes an OS suitable for the corresponding process, the immediacy of the control system 4 as a whole is improved.

The present invention has been described on the basis of the embodiment. The embodiment is exemplary, and it is understood by those skilled in the art that various modifications are possible in regard to the combination of the components and the processes and that also such modifications fall within the scope of the present invention. It is sufficient if the robot apparatus 20 is a movable robot, and the robot apparatus 20 is not limited to a two-legged walking robot. Further, the robot apparatus 20 may be an industrial robot or the like.

Although, in the embodiment, the motion controlling processor 70 provides posture information of the image sensor 52 to the sensor processor 50, it may otherwise provide the posture information to the application processor 30. At this time, the application processor 30 holds the posture information without transferring it to the sensor processor 50 and links the posture information to an image analysis result provided from the sensor processor 50. The application processor 30 refers to an image capture time of image data used in image analysis and included in the image analysis result and an acquisition time of sensor data used in derivation of the posture information and included in the posture information, to link the image analysis result and the posture information at the same timing to each other, and utilizes them for specification of the position of a target in a space.

In the embodiment, an example has been described in which the application processor 30, the sensor processor 50, and the motion controlling processor 70 are provided in the housing of the robot apparatus 20. In a modification, the sensor processor 50 and the motion controlling processor 70 may be provided in the housing of the robot apparatus 20 while the application processor 30 is provided outside the housing of the robot apparatus 20. By providing the function of the application processor 30 outside the robot apparatus 20, for example, in the server apparatus 10, it is possible to provide a high processing capacity to the application processor 30 and cause the application processor 30 to perform a complicated arithmetic operation process.

Although, in the embodiment, it is described that the sensor processor 50 does not provide image data to the application processor 30, if the user sets a predetermined operation mode, then it may be made possible for the sensor processor 50 to provide image data.

While a main power supply to the robot apparatus 20 is off, the event-driven type sensor 56, the motion sensor 72, and the touch sensor 74 may be driven by using standby power. The robot apparatus 20 may be configured such that, when at least one of the event-driven type sensor 56, the motion sensor 72, and the touch sensor 74 detects predetermined information, the main power supply is automatically turned on.

INDUSTRIAL APPLICABILITY

The present invention can be utilized in a system for controlling an action of a robot.

REFERENCE SIGNS LIST

-   1: Entertainment system -   2: Network -   3: AP -   4: Control system -   10: Server apparatus -   20: Robot apparatus -   30: Application processor -   32: Display device -   34: Speaker -   36: Communication device -   38: Microphone -   50: Sensor processor -   52: Image sensor -   54: Distance sensor -   56: Event-driven type sensor -   70: Motion controlling processor -   72: Motion sensor -   74: Touch sensor -   76: Microcomputer 

1. A robot controlling system comprising: an application processor that executes a first operating system to process an application; a sensor processor that executes a second operating system to process image data acquired by an image sensor; and a motion controlling processor that executes a third operating system to control motion of a movable part of a robot, wherein the first operating system, the second operating system, and the third operating system are different from one another.
 2. The robot controlling system according to claim 1, wherein the second operating system is an operating system that controls a neural network for image analysis, and the third operating system is a real-time operating system.
 3. The robot controlling system according to claim 1, wherein the application processor designates an image analysis function to be carried out, according to the application to be processed, for the sensor processor.
 4. The robot controlling system according to claim 1, wherein two of the processors are connected for communication to each other.
 5. The robot controlling system according to claim 1, wherein the sensor processor is connected to the image sensor, and the motion controlling processor is connected to a motion sensor so as to derive posture information for specifying an orientation of the image sensor.
 6. The robot controlling system according to claim 1, wherein the sensor processor is connected to the image sensor and a distance sensor.
 7. The robot controlling system according to claim 1, wherein the sensor processor is connected to the image sensor and an event-driven type sensor.
 8. The robot controlling system according to claim 1, wherein the sensor processor has a learning function of optimizing a parameter set of a neural network that implements an image analysis function.
 9. The robot controlling system according to claim 1, wherein the sensor processor sets a parameter set for image analysis to a neural network to implement an image analysis function, and the parameter set is provided by the application processor.
 10. The robot controlling system according to claim 1, wherein the application processor, the sensor processor, and the motion controlling processor are provided inside a robot housing.
 11. The robot controlling system according to claim 1, wherein the sensor processor and the motion controlling processor are provided inside a robot housing while the application processor is provided outside the robot housing. 